package pers.jing.android.helper.model

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty

/**
 *
 */
@JacksonXmlRootElement(localName = "hierarchy")
data class UiHierarchy(
    //旋转角度
    @field:JacksonXmlProperty(isAttribute = true)
    val rotation: Int = 0,
    //子节点<node>
    @field:JacksonXmlProperty(localName = "node")
    @field:JacksonXmlElementWrapper(useWrapping = false)
    val notes: List<UiNode> = emptyList()
    )